#pragma once


#define FREE_POINTER(ptr) \
    do { \
        if(ptr != nullptr) \
        { \
            delete ptr; \
            ptr = nullptr; \
        } \
    }while(false);
